package cn.jeeweb.web.modules.equipment.mapper;

import cn.jeeweb.web.modules.equipment.entity.EqsMaintenanceTask;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @description: eqs_maintenance_task数据库控制层接口
 */
@Mapper
public interface EqsMaintenanceTaskMapper extends BaseMapper<EqsMaintenanceTask> {

    boolean updateMaintenanceTaskStatus(@Param("status") String status, @Param("ids")String[] ids);

    boolean updateMaintenanceTask(EqsMaintenanceTask eqsMaintenanceTask);

    List<EqsMaintenanceTask> getByTaskDate(EqsMaintenanceTask eqsMaintenanceTask);
}